﻿using MagicKey.Interfaces;
using MagicKey.AppService;

namespace MagicKey.Factory
{
    public class MagicKeyFactory
    {
        private readonly static MagicKeyFactory Instance = new MagicKeyFactory();

        /// <summary>
        /// 
        /// </summary>
        private MagicKeyFactory(){}

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static MagicKeyFactory GetInstance()
        {
            return Instance;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public IMagicKey GetMagicKeyInterface()
        {
            return new AppService.MagicKey();
        }

    }
}
